<?php

namespace App\Listeners;

use App\Events\UserRechargeEvent;
use App\Models\User;
use Carbon\Carbon;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Support\Facades\DB;

class UserRechargeListener implements ShouldQueue
{

    /**
     * 任务将被发送到的队列的名称
     * @var mixed
     */
    public $queue;

    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {
        $this->queue = config('jobQueue.default');
    }

    /**
     * Handle the event.
     *
     * @param UserRechargeEvent $event
     * @return void
     */
    public function handle(UserRechargeEvent $event)
    {


    }
}
